function convertChineseDate(dateStr) {
    let date = new Date(dateStr);
    // let chinese = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'];
    let y = date.getFullYear().toString();
    let m = (date.getMonth() + 1).toString();
    let d = date.getDate().toString();
    return y + '年' + m + '月' + d + '日'
}

let dateStr = convertChineseDate('2022-08-11')
let dateStr2 = convertChineseDate('2022-11-01')
console.log(dateStr)
console.log(dateStr2)